﻿#ifndef U_QualityPage_H
#define U_QualityPage_H

#include "Window/mydialog.h"
#include "Window/Charts/u_quality_history_chart.h"

class QualityPage : public MyDialog
{
    Q_OBJECT
public:
    explicit QualityPage(QWidget *parent = nullptr);

signals:

public slots:
    void OnBtnQueryClicked();

private:

    void InitWidget();
    void SetupConnections();
    void Initialize();

    QList<Simulation> qualityList;
    QualityHistoryChart *chart;

    QPushButton  *btnQuery;

    QComboBox      *editEquCode;
    QDateTimeEdit  *editStartTime;
    QDateTimeEdit  *editEndTime;
};

#endif // U_QualityPage_H
